package tema4_Observer_Employee;

public class Demo {
	public static void main(String arg[])
	{
		Employee e=new Employee();
		Manager m=new Manager();
		e.addObserver(m);
		m.update(e, 1200);
		e.setSalary(1300);
	
	}
}
